hip.jni.helper.jnicall

Undocumented in source.

Members

Functions

JNISetEnv
void JNISetEnv(JNIEnv* env)
Undocumented in source. Be warned that the author may not have intended to support it.
JavaFunc
enum JavaFunc()
Undocumented in source. Be warned that the author may not have intended to support it.
javaGenerateMethod
string javaGenerateMethod()

This function should provide the module to import hip.for it being able to get the type. Currently only supports basic types

javaGenerateMethodName
string javaGenerateMethodName(string method)
Undocumented in source. Be warned that the author may not have intended to support it.
javaGetClass
jclass javaGetClass(JNIEnv* env, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
javaGetClassPath
string javaGetClassPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
javaGetMethodName
string javaGetMethodName(string where)
Undocumented in source. Be warned that the author may not have intended to support it.
javaGetType
string javaGetType()
Undocumented in source. Be warned that the author may not have intended to support it.
javaGetTypeRepresentation
enum javaGetTypeRepresentation()
Undocumented in source. Be warned that the author may not have intended to support it.
javaTypeToD
D javaTypeToD(JNIEnv* env, J value)
Undocumented in source. Be warned that the author may not have intended to support it.
java_convertParameterToD
string java_convertParameterToD()
Undocumented in source. Be warned that the author may not have intended to support it.
java_dType_to_javaType
string java_dType_to_javaType()
Undocumented in source. Be warned that the author may not have intended to support it.
java_getParametersCall
string java_getParametersCall()
Undocumented in source. Be warned that the author may not have intended to support it.
java_getParametersDef
string java_getParametersDef()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

D_TO_JAVA_TYPE_TABLE
enum D_TO_JAVA_TYPE_TABLE;
Undocumented in source.
javaRep
enum javaRep;
Undocumented in source.

Mixin templates

javaGenerateModuleMethodsForPackage
mixintemplate javaGenerateModuleMethodsForPackage(alias javaPackage, alias module_, bool showGeneration = false)

It would pretty much work as if extern(Java) existed. Generates the java side names function definitions for functions marked with @JavaFunc Don't yet support functions with underlines (I think that the mangling is _1, but need to test)

Structs

JavaFunc_
struct JavaFunc_

By not using templated struct, no instantiation will be required, and it will be easier for searching when using __traits

Templates

javaGetPackage
template javaGetPackage(string packageName)
Undocumented in source.

Meta